From 4bd2a9bca95b743706cccf4d2e7d46312696a124 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Thu, 19 Jan 2017 14:34:42 +0100 Subject: [PATCH] popovermenu: Remove forall implementation --- gtk/gtkpopovermenu.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gtk/gtkpopovermenu.c b/gtk/gtkpopovermenu.c index 5a23fc350a..e803a616b1 100644 --- a/gtk/gtkpopovermenu.c +++ b/gtk/gtkpopovermenu.c @@ -198,22 +198,6 @@ gtk_popover_menu_remove (GtkContainer *container, gtk_container_remove (GTK_CONTAINER (stack), child); } -static void -gtk_popover_menu_forall (GtkContainer *container, - gboolean include_internals, - GtkCallback callback, - gpointer callback_data) -{ - GtkWidget *stack; - - stack = gtk_bin_get_child (GTK_BIN (container)); - - if (include_internals) - (* callback) (stack, callback_data); - - gtk_container_forall (GTK_CONTAINER (stack), callback, callback_data); -} - static void gtk_popover_menu_get_child_property (GtkContainer *container, GtkWidget *child, @@ -349,7 +333,6 @@ gtk_popover_menu_class_init (GtkPopoverMenuClass *klass) container_class->add = gtk_popover_menu_add; container_class->remove = gtk_popover_menu_remove; - container_class->forall = gtk_popover_menu_forall; container_class->set_child_property = gtk_popover_menu_set_child_property; container_class->get_child_property = gtk_popover_menu_get_child_property; -- 2.30.2